package com.zys.el.time.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel("评论传输类")
public class CommentDTO implements Serializable {
    /**
     * 根评论id
     */
    @ApiModelProperty("根评论id")
    private Long rootCommentId;

    /**
     * 话题id
     */
    @ApiModelProperty("帖子id")
    private Long thinkingId;

    /**
     * 用户id
     */
    @ApiModelProperty("用户id")
    private Long UserId;

    /**
     * 被评论者id
     */
    @ApiModelProperty("被评论者id")
    private Long replieeId;

    /**
     * 评论
     */
    @ApiModelProperty("评论")
    private String text;

    private static final long serialVersionUID = 1L;
}
